<?php
echo $javascript->link ( 'jquery' );
?>
<script type="text/javascript">
  var message=$("#flashMessage").text();//setflash生成<div id ="flashMessage" class="***">****</div>
  var className=$("#flashMessage").attr("class");//success和error两种样式，controller设置而来
  window.opener.tabreload(message,className);
  window.close();
</script>